using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace p301.Reports.UrKons
{
    public partial class PrintUrKons : DevExpress.XtraReports.UI.XtraReport
    {
        public PrintUrKons()
        {
            InitializeComponent();
        }

        public void Open(dsUrKons.dtAnalizUrDataTable tableAnalizUr,
            dsUrKons.dtAnalizUr_DataTable tableAnalizUr_)
        {
            this.DataSource = tableAnalizUr;
            _printUrKonsurFactKons.InitSubReport(tableAnalizUr_);
            _printUrKonsurKonsKpo.InitSubReport(tableAnalizUr_);
            _printUrKonsurKonsProb.InitSubReport(tableAnalizUr_);
            _printUrKonsurUrIsk.InitSubReport(tableAnalizUr_);
            _printUrKonsurHodotaistvo.InitSubReport(tableAnalizUr_);   

            this.ShowPreview();
        }


    }
}
